
const _ = require('lodash')

function getSum(a, b, c) {
    return a + b + c
}

getSumCurry = _.curry(getSum)

console.log(getSumCurry(1,2,3))
console.log(getSumCurry(1)(2,3))
console.log(getSumCurry(1,2)(3))
console.log(getSumCurry(1)(2)(3))